/*!* 公共的样式 *!*/

/** {*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    box-sizing: border-box;*/
/*}*/

/*html, body {*/
/*    height: 100%;*/

/*    background-image: url(../image/go_bang.png);*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*    background-size: cover;*/
/*}*/

/*.nav {*/
/*    height: 50px;*/

/*    background-color: rgb(50, 50, 50);*/
/*    color: white;*/

/*    line-height: 50px;*/
/*    padding-left: 20px;*/
/*}*/

/*.container {*/
/*    width: 100%;*/
/*    height: calc(100% - 50px);*/

/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/



/* 公共样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
    height: 100%;
    background-image: url("../image/go_bang.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.nav {
    width: 100%;
    height: 50px;
    background-color: rgba(51, 51, 51,0.4);
    color: white;

    display: flex;
    align-items: center;
    padding-left: 20px;
}

.nav img {
    width: 40px;
    height: 40px;
    border-radius: 50%;

    margin-left: 30px;
    margin-right: 10px;
}

.nav .spacer {
    /* 相对于父元素的宽度, 如果父元素(.nav) 宽度是 1000px, 此时 .spacer 就是 700px */
    width: 70%;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
}


.container {
    height: calc(100% - 50px);
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: rgba(255, 255, 255, 0.7);*/
}